<template>
  <div class="my_header">
     <input type="text" :value="modelValue" @input="$emit('update:modelValue',$event.target.value)" @blur="$emit('blur')">
  </div>
</template>

<script>
import { ref, reactive, toRefs } from "vue";
export default {
  props:{
    modelValue: String
  },
  setup() {},
};
</script>
<style lang="scss" scoped>
.my_header{
  height: 50px;
  background: red;
  display: flex;
  align-items: center;
  justify-content: center;
  input{
    border: none;
    border-radius: 20px;
    height: 80%;
    width: 80%;
    padding: 0 10px;
  }
}
</style>